package com.hrs.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

/**
 * @author 摆渡人
 * @description
 * @date 2023/1/12 22:26
 */
@Getter
public enum Status {
    WAITING(0,"待复核"),
    NORMAL(1,"正常"),
    DELETED(2,"已删除");

    @EnumValue
    private final int key;
    @JsonValue
    private final String display;

    Status(int key, String display) {
        this.key = key;
        this.display = display;
    }
}
